<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
    <base href="<%=basePath%>">
	<link rel="stylesheet" type="text/css" href="bootstrap-rs/themes/black/easyui.css">
	<link rel="stylesheet" type="text/css" href="bootstrap-rs/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="bootstrap-rs/demo.css">
	<script type="text/javascript" src="bootstrap-rs/jquery.min.js"></script>
	<script type="text/javascript" src="bootstrap-rs/jquery.easyui.min.js"></script>
</head>
<body>
	<form id="ff" action="rule/info/save" method="post"
		style="margin:0 auto;">
		<fieldset name="basicInfo"
			style="width:300px;height:200px;margin:0px auto;">
			<legend>规则基本信息</legend>
			<table border="1"
				style="width:300px;height:190px;margin:0px auto;text-align: center"">
				<tr>
					<td>品牌</td>
					<td>${gradeRuleDto.vBrandname}</td>
				</tr>
				<tr>
					<td>等级</td>
					<td>${gradeRuleDto.vGrade}</td>
				</tr>
				<tr>
					<td>规则名称</td>
					<td>${gradeRuleDto.gradeRule.vRulename}</input></td>
				</tr>
				<tr>
					<td>优先级</td>
					<td>${gradeRuleDto.gradeRule.nPriority}</td>
				</tr>
				<tr>
					<td>计算系数</td>
					<td>${gradeRuleDto.gradeRule.nFactor}</td>
				</tr>
				<tr>
					<td>描述</td>
					<td>${gradeRuleDto.gradeRule.vDesc}</td>
				</tr>
			</table>
		</fieldset>

		<div name="condition" style="width:700px;height:100px;margin:0px auto;">
		<fieldset name="Info" style="width:300px;height:95px;float:left;">
			<legend>话费规则条件</legend>
					<div style="text-align: center;">${gradeRuleDto.gradeRule.nCondition1}</div>
		</fieldset>
		
		<fieldset name="intfInfo" style="width:300px;height:95px;float:left;">
			<legend>话费规则条件</legend>
					<div style="text-align: center;">${gradeRuleDto.gradeRule.nCondition2}</div>
		</fieldset>
		
		</div>
		
	</form>
	<br>
	<div align="center"><input type="button" name="returnback" value="返回" onclick="returnback()"></div>
	
</body>
<script type="text/javascript">

function returnback(){
	window.location.href='/rule/info/query';
}
</script>
</html>